package week9.example;//********************************************************************
//  Zero.java       Author: Lewis/Loftus
//
//  Demonstrates an uncaught exception.
//********************************************************************

public class  Zero
{
    //-----------------------------------------------------------------
    //  Deliberately divides by zero to produce an exception.
    //-----------------------------------------------------------------
    public static void main(String[] args)
    {
        int numerator = 10;
        int denominator = 0;

        System.out.println(numerator / denominator);

        System.out.println("This text will not be printed.");
    }
}
